package com.java.demo.model;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2023-09-03
 * Time: 16:46
 */
@Component
public class Projecter2 {
    @Autowired
    private User user;
    public void doMethod() {
        // 使用容器中的 User
        System.out.println("projecter2 拿到的原始数据："+user);
    }
}
